#if UNITY_EDITOR
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

namespace NodeCanvas.Editor.LevelEditor
{
    
    public class EventPointDrawer : EventDrawer
    {
        protected void OnDrawGizmos()
        {
            
        }
    }
    
    public class LevelCircleDrawer : EventDrawer
    {
        private static Color color = new Color( Color.red.r, Color.red.g, Color.red.b, 0.05f);
        
        protected void OnDrawGizmos()
        {
            transform.position = new Vector3(transform.position.x, 0, transform.position.z);
            var radius = transform.localScale.x;
            var radiusV3 = new Vector3(radius, radius, radius);
#if UNITY_EDITOR
            UnityEditor.Handles.color = color;
            UnityEditor.Handles.DrawSolidDisc(transform.position, Vector3.up, radius);
            UnityEditor.Handles.color = Color.red;
            Handles.Disc(new Quaternion(0, 0, 0, 0), transform.position, Vector3.up, radius, false, 1.0f);
#endif
            transform.localScale = radiusV3;
        }
    }
}
#endif